<?php defined('ByShopWWI') or exit('Access Invalid!');?>
<style>
    body{background: #f5f5f5 !important;}
</style>
<div class="warp-all article-layout-a" id="warp-all">
    <div class="mainbox">

        <div class="sitenav-bar">
            <div class="pagetitle">媒体聚焦</div>

            <div class="sitenav"><?php echo $lang['current_location'];?><?php echo $lang['nc_colon'];?> <a
                        href="<?php echo SHOP_SITE_URL;?>">金贵银器</a> > <a href="<?php
                echo CMS_SITE_URL.DS.'index.php?act=article&op=article_list';?>">媒体聚焦</a><?php echo empty($_GET['class_id'])?'':' > '.$output['article_class_list'][$_GET['class_id']]['class_name'];?></div>

            <ul class="sub_class">
                <li><a class="<?php echo $output['notice']; ?>" href="<?php echo urlCMS('article','article_list',
                        array('news'=>'notice'))?>#warp-all">公告</a></li>
                <li><a class="<?php echo $output['media']; ?>" href="<?php echo urlCMS('article','article_list',array
                    ('news'=>'media'))
                    ?>#warp-all">企业新闻</a></li>
            </ul>
        </div>
        <?php if(!empty($output['article_li']) && is_array($output['article_li'])) {?>
            <ul class="article-list">
                <?php foreach($output['article_li'] as $value) {?>
                    <?php $article_url = getCMSArticleUrl($value['article_id']);?>
                    <li>
                        <div class="thumb"><a href=""><img
                                    src=" <?php
                                         if($value['article_image']) {
                                             $image = unserialize($value['article_image']);
                                             echo UPLOAD_SITE_URL . '/' . DIR_CMS . '/' . 'article' . '/' . $image['path'] . '/'
                                                 . $image['name'];
                                         }else{
                                                echo SHOP_TEMPLATES_URL.'/images/default.jpg';
                                         }
                                    ?>"
                                    alt=""></a></div>
                        <h3 class="article-title"> <a href="<?php echo $article_url;?>" target="_blank"> <?php echo $value['article_title'];?> </a> </h3>

                        <span class="date"><?php echo date('Y-m-d',$value['article_publish_time']);?></span>

                        <div class="article-preface"><?php echo $value['article_abstract'];?><a href="<?php echo $article_url;?>" target="_blank">More</a></div>

                    </li>
                <?php } ?>
            </ul>
            <div class="pagination"> <?php echo $output['show_page'];?> </div>
        <?php } else { ?>
            <div class="no-content-b"><i class="article"></i><?php echo $lang['no_record'];?></div>
        <?php } ?>
    </div>

</div>
